home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1995-08-29 | 2.6 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
1%
| dexvert
| Combustion 2 Particle Library (other/combustion2ParticleLibrary)
| ext
| Unsupported |
100%
| file
| Emacs/XEmacs v19 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
| |
100%
| xdgMime
| text/x-emacs-lisp
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 63 74 68 6f 6d 70 40 |piled by| cthomp@|
|00000020| 77 69 6c 6c 6f 77 2e 63 | 73 2e 75 69 75 63 2e 65 |willow.c|s.uiuc.e|
|00000030| 64 75 20 6f 6e 20 54 75 | 65 20 41 75 67 20 32 39 |du on Tu|e Aug 29|
|00000040| 20 31 34 3a 32 37 3a 34 | 30 20 31 39 39 35 0a 3b | 14:27:4|0 1995.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 78 65 |;; from |file /xe|
|00000060| 6d 61 63 73 2f 78 65 6d | 61 63 73 2d 31 39 2e 31 |macs/xem|acs-19.1|
|00000070| 33 2d 72 65 6c 65 61 73 | 65 2f 65 64 69 74 6f 72 |3-releas|e/editor|
|00000080| 2f 6c 69 73 70 2f 76 6d | 73 2f 76 6d 73 70 72 6f |/lisp/vm|s/vmspro|
|00000090| 63 2e 65 6c 0a 3b 3b 3b | 20 65 6d 61 63 73 20 76 |c.el.;;;| emacs v|
|000000a0| 65 72 73 69 6f 6e 20 31 | 39 2e 31 33 20 58 45 6d |ersion 1|9.13 XEm|
|000000b0| 61 63 73 20 4c 75 63 69 | 64 2e 0a 3b 3b 3b 20 62 |acs Luci|d..;;; b|
|000000c0| 79 74 65 63 6f 6d 70 20 | 76 65 72 73 69 6f 6e 20 |ytecomp |version |
|000000d0| 32 2e 32 35 3b 20 31 2d | 53 65 70 2d 39 34 2e 0a |2.25; 1-|Sep-94..|
|000000e0| 3b 3b 3b 20 6f 70 74 69 | 6d 69 7a 61 74 69 6f 6e |;;; opti|mization|
|000000f0| 20 69 73 20 6f 6e 2e 0a | 3b 3b 3b 20 74 68 69 73 | is on..|;;; this|
|00000100| 20 66 69 6c 65 20 75 73 | 65 73 20 6f 70 63 6f 64 | file us|es opcod|
|00000110| 65 73 20 77 68 69 63 68 | 20 64 6f 20 6e 6f 74 20 |es which| do not |
|00000120| 65 78 69 73 74 20 69 6e | 20 45 6d 61 63 73 20 31 |exist in| Emacs 1|
|00000130| 38 2e 0a 0a 28 69 66 20 | 28 61 6e 64 20 28 62 6f |8...(if |(and (bo|
|00000140| 75 6e 64 70 20 27 65 6d | 61 63 73 2d 76 65 72 73 |undp 'em|acs-vers|
|00000150| 69 6f 6e 29 0a 09 20 28 | 6f 72 20 28 61 6e 64 20 |ion).. (|or (and |
|00000160| 28 62 6f 75 6e 64 70 20 | 27 65 70 6f 63 68 3a 3a |(boundp |'epoch::|
|00000170| 76 65 72 73 69 6f 6e 29 | 20 65 70 6f 63 68 3a 3a |version)| epoch::|
|00000180| 76 65 72 73 69 6f 6e 29 | 0a 09 20 20 20 20 20 28 |version)|.. (|
|00000190| 73 74 72 69 6e 67 2d 6c | 65 73 73 70 20 65 6d 61 |string-l|essp ema|
|000001a0| 63 73 2d 76 65 72 73 69 | 6f 6e 20 22 31 39 22 29 |cs-versi|on "19")|
|000001b0| 29 29 0a 20 20 20 20 28 | 65 72 72 6f 72 20 22 54 |)). (|error "T|
|000001c0| 68 69 73 20 66 69 6c 65 | 20 77 61 73 20 63 6f 6d |his file| was com|
|000001d0| 70 69 6c 65 64 20 66 6f | 72 20 45 6d 61 63 73 20 |piled fo|r Emacs |
|000001e0| 31 39 2e 22 29 29 0a 0a | 28 64 65 66 76 61 72 20 |19."))..|(defvar |
|000001f0| 64 69 73 70 6c 61 79 2d | 73 75 62 70 72 6f 63 65 |display-|subproce|
|00000200| 73 73 2d 77 69 6e 64 6f | 77 20 6e 69 6c 20 22 5c |ss-windo|w nil "\|
|00000210| 0a 49 66 20 6e 6f 6e 2d | 6e 69 6c 2c 20 74 68 65 |.If non-|nil, the|
|00000220| 20 73 75 70 72 6f 63 65 | 73 73 20 77 69 6e 64 6f | suproce|ss windo|
|00000230| 77 20 69 73 20 64 69 73 | 70 6c 61 79 65 64 20 77 |w is dis|played w|
|00000240| 68 65 6e 65 76 65 72 20 | 69 6e 70 75 74 20 69 73 |henever |input is|
|00000250| 20 72 65 63 65 69 76 65 | 64 2e 22 29 0a 28 64 65 | receive|d.").(de|
|00000260| 66 76 61 72 20 63 6f 6d | 6d 61 6e 64 2d 70 72 65 |fvar com|mand-pre|
|00000270| 66 69 78 2d 73 74 72 69 | 6e 67 20 22 24 20 22 20 |fix-stri|ng "$ " |
|00000280| 22 5c 0a 53 74 72 69 6e | 67 20 74 6f 20 69 6e 73 |"\.Strin|g to ins|
|00000290| 65 72 74 20 74 6f 20 64 | 69 73 74 69 6e 67 75 69 |ert to d|istingui|
|000002a0| 73 68 20 63 6f 6d 6d 61 | 6e 64 73 20 65 6e 74 65 |sh comma|nds ente|
|000002b0| 72 65 64 20 62 79 20 75 | 73 65 72 2e 22 29 0a 28 |red by u|ser.").(|
|000002c0| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 c1 21 ac 82 |byte-cod|e "..!..|
|000002d0| c2 11 c0 c3 21 ac 82 c2 | 13 0b ac 8f c4 20 13 c5 |....!...|..... ..|
|000002e0| 0b c6 c7 23 88 c5 0b c8 | c9 23 88 c2 87 22 20 5b |...#....|.#..." [|
|000002f0| 62 6f 75 6e 64 70 20 73 | 75 62 70 72 6f 63 65 73 |boundp s|ubproces|
|00000300| 73 2d 72 75 6e 6e 69 6e | 67 20 6e 69 6c 20 63 6f |s-runnin|g nil co|
|00000310| 6d 6d 61 6e 64 2d 6d 6f | 64 65 2d 6d 61 70 20 6d |mmand-mo|de-map m|
|00000320| 61 6b 65 2d 73 70 61 72 | 73 65 2d 6b 65 79 6d 61 |ake-spar|se-keyma|
|00000330| 70 20 64 65 66 69 6e 65 | 2d 6b 65 79 20 22 0d 22 |p define|-key "."|
|00000340| 20 63 6f 6d 6d 61 6e 64 | 2d 73 65 6e 64 2d 69 6e | command|-send-in|
|00000350| 70 75 74 20 22 15 22 20 | 63 6f 6d 6d 61 6e 64 2d |put "." |command-|
|00000360| 6b 69 6c 6c 2d 6c 69 6e | 65 5d 20 34 29 0a 28 66 |kill-lin|e] 4).(f|
|00000370| 73 65 74 20 27 73 75 62 | 70 72 6f 63 65 73 73 2d |set 'sub|process-|
|00000380| 69 6e 70 75 74 20 23 5b | 28 6e 61 6d 65 20 73 74 |input #[|(name st|
|00000390| 72 29 20 22 08 ab 84 c1 | 5c 6e 21 88 70 1b 5c 6e |r) "....|\n!.p.\n|
|000003a0| 71 88 64 62 88 0c 63 88 | c5 63 88 0b 71 29 87 22 |q.db..c.|.c..q)."|
|000003b0| 20 5b 64 69 73 70 6c 61 | 79 2d 73 75 62 70 72 6f | [displa|y-subpro|
|000003c0| 63 65 73 73 2d 77 69 6e | 64 6f 77 20 64 69 73 70 |cess-win|dow disp|
|000003d0| 6c 61 79 2d 62 75 66 66 | 65 72 20 73 75 62 70 72 |lay-buff|er subpr|
|000003e0| 6f 63 65 73 73 2d 62 75 | 66 20 6f 6c 64 2d 62 75 |ocess-bu|f old-bu|
|000003f0| 66 66 65 72 20 73 74 72 | 20 31 30 5d 20 32 20 22 |ffer str| 10] 2 "|
|00000400| 5c 0a 48 61 6e 64 6c 65 | 73 20 69 6e 70 75 74 20 |\.Handle|s input |
|00000410| 66 72 6f 6d 20 61 20 73 | 75 62 70 72 6f 63 65 73 |from a s|ubproces|
|00000420| 73 2e 20 20 43 61 6c 6c | 65 64 20 62 79 20 45 6d |s. Call|ed by Em|
|00000430| 61 63 73 2e 22 5d 29 0a | 28 66 73 65 74 20 27 73 |acs."]).|(fset 's|
|00000440| 75 62 70 72 6f 63 65 73 | 73 2d 65 78 69 74 20 23 |ubproces|s-exit #|
|00000450| 5b 28 6e 61 6d 65 29 20 | 22 c0 89 11 87 22 20 5b |[(name) |"...." [|
|00000460| 6e 69 6c 20 73 75 62 70 | 72 6f 63 65 73 73 2d 72 |nil subp|rocess-r|
|00000470| 75 6e 6e 69 6e 67 5d 20 | 32 20 22 5c 0a 43 61 6c |unning] |2 "\.Cal|
|00000480| 6c 65 64 20 62 79 20 45 | 6d 61 63 73 20 75 70 6f |led by E|macs upo|
|00000490| 6e 20 73 75 62 70 72 6f | 63 65 73 73 20 65 78 69 |n subpro|cess exi|
|000004a0| 74 2e 22 5d 29 0a 28 66 | 73 65 74 20 27 73 74 61 |t."]).(f|set 'sta|
|000004b0| 72 74 2d 73 75 62 70 72 | 6f 63 65 73 73 20 23 5b |rt-subpr|ocess #[|
|000004c0| 6e 69 6c 20 22 08 ab 84 | c1 c2 21 88 c3 c4 21 15 |nil "...|..!...!.|
|000004d0| 8a 0d 71 88 c6 0e 07 21 | 88 29 c8 c9 ca cb 23 89 |..q....!|.)....#.|
|000004e0| 10 ad 84 cc c9 cd 5c 22 | 87 22 20 5b 73 75 62 70 |......\"|." [subp|
|000004f0| 72 6f 63 65 73 73 2d 72 | 75 6e 6e 69 6e 67 20 72 |rocess-r|unning r|
|00000500| 65 74 75 72 6e 20 74 20 | 67 65 74 2d 62 75 66 66 |eturn t |get-buff|
|00000510| 65 72 2d 63 72 65 61 74 | 65 20 22 2a 43 4f 4d 4d |er-creat|e "*COMM|
|00000520| 41 4e 44 2a 22 20 73 75 | 62 70 72 6f 63 65 73 73 |AND*" su|bprocess|
|00000530| 2d 62 75 66 20 75 73 65 | 2d 6c 6f 63 61 6c 2d 6d |-buf use|-local-m|
|00000540| 61 70 20 63 6f 6d 6d 61 | 6e 64 2d 6d 6f 64 65 2d |ap comma|nd-mode-|
|00000550| 6d 61 70 20 73 70 61 77 | 6e 2d 73 75 62 70 72 6f |map spaw|n-subpro|
|00000560| 63 65 73 73 20 31 20 73 | 75 62 70 72 6f 63 65 73 |cess 1 s|ubproces|
|00000570| 73 2d 69 6e 70 75 74 20 | 73 75 62 70 72 6f 63 65 |s-input |subproce|
|00000580| 73 73 2d 65 78 69 74 20 | 73 65 6e 64 2d 63 6f 6d |ss-exit |send-com|
|00000590| 6d 61 6e 64 2d 74 6f 2d | 73 75 62 70 72 6f 63 65 |mand-to-|subproce|
|000005a0| 73 73 20 22 4f 4e 20 53 | 45 56 45 52 45 5f 45 52 |ss "ON S|EVERE_ER|
|000005b0| 52 4f 52 20 54 48 45 4e | 20 43 4f 4e 54 49 4e 55 |ROR THEN| CONTINU|
|000005c0| 45 22 5d 20 35 20 22 5c | 0a 53 70 61 77 6e 73 20 |E"] 5 "\|.Spawns |
|000005d0| 61 6e 20 61 73 79 6e 63 | 68 72 6f 6e 6f 75 73 20 |an async|hronous |
|000005e0| 73 75 62 70 72 6f 63 65 | 73 73 20 77 69 74 68 20 |subproce|ss with |
|000005f0| 6f 75 74 70 75 74 20 72 | 65 64 69 72 65 63 74 65 |output r|edirecte|
|00000600| 64 20 74 6f 0a 74 68 65 | 20 62 75 66 66 65 72 20 |d to.the| buffer |
|00000610| 2a 43 4f 4d 4d 41 4e 44 | 2a 2e 20 20 57 69 74 68 |*COMMAND|*. With|
|00000620| 69 6e 20 74 68 69 73 20 | 62 75 66 66 65 72 2c 20 |in this |buffer, |
|00000630| 75 73 65 20 43 2d 6d 20 | 74 6f 20 73 65 6e 64 0a |use C-m |to send.|
|00000640| 74 68 65 20 6c 61 73 74 | 20 6c 69 6e 65 20 74 6f |the last| line to|
|00000650| 20 74 68 65 20 73 75 62 | 70 72 6f 63 65 73 73 20 | the sub|process |
|00000660| 6f 72 20 74 6f 20 62 72 | 69 6e 67 20 61 6e 6f 74 |or to br|ing anot|
|00000670| 68 65 72 20 6c 69 6e 65 | 20 74 6f 0a 74 68 65 20 |her line| to.the |
|00000680| 65 6e 64 2e 22 5d 29 0a | 28 66 73 65 74 20 27 73 |end."]).|(fset 's|
|00000690| 75 62 70 72 6f 63 65 73 | 73 2d 63 6f 6d 6d 61 6e |ubproces|s-comman|
|000006a0| 64 2d 74 6f 2d 62 75 66 | 66 65 72 20 23 5b 28 63 |d-to-buf|fer #[(c|
|000006b0| 6f 6d 6d 61 6e 64 20 62 | 75 66 66 65 72 29 20 22 |ommand b|uffer) "|
|000006c0| c0 89 19 1a 0b c4 c5 c6 | 0b 5c 22 4f 12 0b c5 c6 |........|.\"O....|
|000006d0| 0b 5c 22 c0 4f 11 c7 5c | 6e c0 0e 08 c0 c9 09 26 |.\".O..\|n......&|
|000006e0| 06 2a 87 22 20 5b 6e 69 | 6c 20 61 72 67 73 20 63 |.*." [ni|l args c|
|000006f0| 6d 64 20 63 6f 6d 6d 61 | 6e 64 20 30 20 73 74 72 |md comma|nd 0 str|
|00000700| 69 6e 67 2d 6d 61 74 63 | 68 20 22 20 22 20 63 61 |ing-matc|h " " ca|
|00000710| 6c 6c 2d 70 72 6f 63 65 | 73 73 20 62 75 66 66 65 |ll-proce|ss buffe|
|00000720| 72 20 22 2a 64 63 6c 2a | 22 5d 20 37 20 22 5c 0a |r "*dcl*|"] 7 "\.|
|00000730| 45 78 65 63 75 74 65 20 | 43 4f 4d 4d 41 4e 44 20 |Execute |COMMAND |
|00000740| 61 6e 64 20 72 65 64 69 | 72 65 63 74 20 6f 75 74 |and redi|rect out|
|00000750| 70 75 74 20 69 6e 74 6f | 20 42 55 46 46 45 52 2e |put into| BUFFER.|
|00000760| 22 5d 29 0a 28 66 73 65 | 74 20 27 73 75 62 70 72 |"]).(fse|t 'subpr|
|00000770| 6f 63 65 73 73 2d 63 6f | 6d 6d 61 6e 64 20 23 5b |ocess-co|mmand #[|
|00000780| 6e 69 6c 20 22 08 ac 83 | c1 20 88 08 ad 86 c2 0b |nil "...|. ......|
|00000790| 21 88 64 62 87 22 20 5b | 73 75 62 70 72 6f 63 65 |!.db." [|subproce|
|000007a0| 73 73 2d 72 75 6e 6e 69 | 6e 67 20 73 74 61 72 74 |ss-runni|ng start|
|000007b0| 2d 73 75 62 70 72 6f 63 | 65 73 73 20 70 6f 70 2d |-subproc|ess pop-|
|000007c0| 74 6f 2d 62 75 66 66 65 | 72 20 73 75 62 70 72 6f |to-buffe|r subpro|
|000007d0| 63 65 73 73 2d 62 75 66 | 5d 20 32 20 22 5c 0a 53 |cess-buf|] 2 "\.S|
|000007e0| 74 61 72 74 73 20 61 73 | 79 6e 63 68 72 6f 6e 6f |tarts as|ynchrono|
|000007f0| 75 73 20 73 75 62 70 72 | 6f 63 65 73 73 20 69 66 |us subpr|ocess if|
|00000800| 20 6e 6f 74 20 72 75 6e | 6e 69 6e 67 20 61 6e 64 | not run|ning and|
|00000810| 20 73 77 69 74 63 68 65 | 73 20 74 6f 20 69 74 73 | switche|s to its|
|00000820| 20 77 69 6e 64 6f 77 2e | 22 20 6e 69 6c 5d 29 0a | window.|" nil]).|
|00000830| 28 66 73 65 74 20 27 63 | 6f 6d 6d 61 6e 64 2d 73 |(fset 'c|ommand-s|
|00000840| 65 6e 64 2d 69 6e 70 75 | 74 20 23 5b 6e 69 6c 20 |end-inpu|t #[nil |
|00000850| 22 c0 79 88 60 c1 7f 88 | 60 7b 1a 6d ab a1 0b ac |".y.`...|`{.m....|
|00000860| 83 c4 20 88 0b ad b8 c0 | 79 88 c5 c6 5c 6e 5c 22 |.. .....|y...\n\"|
|00000870| 88 0e 07 ab 87 c0 79 88 | 0e 07 63 88 c8 c6 21 aa |......y.|..c...!.|
|00000880| a0 c9 20 88 ca 20 88 c8 | c6 21 88 0e 07 5c 6e c0 |.. .. ..|.!...\n.|
|00000890| 0e 07 47 4f 98 ab 89 5c | 6e 0e 07 47 c1 4f 63 aa |..GO...\|n..G.Oc.|
|000008a0| 82 5c 6e 63 29 87 22 20 | 5b 30 20 6e 69 6c 20 63 |.\nc)." |[0 nil c|
|000008b0| 75 72 72 65 6e 74 2d 6c | 69 6e 65 20 73 75 62 70 |urrent-l|ine subp|
|000008c0| 72 6f 63 65 73 73 2d 72 | 75 6e 6e 69 6e 67 20 73 |rocess-r|unning s|
|000008d0| 74 61 72 74 2d 73 75 62 | 70 72 6f 63 65 73 73 20 |tart-sub|process |
|000008e0| 73 65 6e 64 2d 63 6f 6d | 6d 61 6e 64 2d 74 6f 2d |send-com|mand-to-|
|000008f0| 73 75 62 70 72 6f 63 65 | 73 73 20 31 20 63 6f 6d |subproce|ss 1 com|
|00000900| 6d 61 6e 64 2d 70 72 65 | 66 69 78 2d 73 74 72 69 |mand-pre|fix-stri|
|00000910| 6e 67 20 6e 65 78 74 2d | 6c 69 6e 65 20 65 6e 64 |ng next-|line end|
|00000920| 2d 6f 66 2d 62 75 66 66 | 65 72 20 62 61 63 6b 77 |-of-buff|er backw|
|00000930| 61 72 64 2d 63 68 61 72 | 5d 20 34 20 22 5c 0a 49 |ard-char|] 4 "\.I|
|00000940| 66 20 61 74 20 6c 61 73 | 74 20 6c 69 6e 65 20 6f |f at las|t line o|
|00000950| 66 20 62 75 66 66 65 72 | 2c 20 73 65 6e 64 73 20 |f buffer|, sends |
|00000960| 74 68 65 20 63 75 72 72 | 65 6e 74 20 6c 69 6e 65 |the curr|ent line|
|00000970| 20 74 6f 0a 74 68 65 20 | 73 70 61 77 6e 65 64 20 | to.the |spawned |
|00000980| 73 75 62 70 72 6f 63 65 | 73 73 2e 20 20 4f 74 68 |subproce|ss. Oth|
|00000990| 65 72 77 69 73 65 20 62 | 72 69 6e 67 73 20 62 61 |erwise b|rings ba|
|000009a0| 63 6b 20 63 75 72 72 65 | 6e 74 0a 6c 69 6e 65 20 |ck curre|nt.line |
|000009b0| 74 6f 20 74 68 65 20 6c | 61 73 74 20 6c 69 6e 65 |to the l|ast line|
|000009c0| 20 66 6f 72 20 72 65 73 | 75 62 6d 69 73 73 69 6f | for res|ubmissio|
|000009d0| 6e 2e 22 20 6e 69 6c 5d | 29 0a 28 66 73 65 74 20 |n." nil]|).(fset |
|000009e0| 27 63 6f 6d 6d 61 6e 64 | 2d 6b 69 6c 6c 2d 6c 69 |'command|-kill-li|
|000009f0| 6e 65 20 23 5b 6e 69 6c | 20 22 c0 79 88 c1 20 87 |ne #[nil| ".y.. .|
|00000a00| 22 20 5b 30 20 6b 69 6c | 6c 2d 6c 69 6e 65 5d 20 |" [0 kil|l-line] |
|00000a10| 31 20 22 5c 0a 4b 69 6c | 6c 73 20 74 68 65 20 63 |1 "\.Kil|ls the c|
|00000a20| 75 72 72 65 6e 74 20 6c | 69 6e 65 2e 20 20 55 73 |urrent l|ine. Us|
|00000a30| 65 64 20 69 6e 20 63 6f | 6d 6d 61 6e 64 20 6d 6f |ed in co|mmand mo|
|00000a40| 64 65 2e 22 20 6e 69 6c | 5d 29 0a 28 64 65 66 69 |de." nil|]).(defi|
|00000a50| 6e 65 2d 6b 65 79 20 65 | 73 63 2d 6d 61 70 20 22 |ne-key e|sc-map "|
|00000a60| 24 22 20 27 73 75 62 70 | 72 6f 63 65 73 73 2d 63 |$" 'subp|rocess-c|
|00000a70| 6f 6d 6d 61 6e 64 29 0a | |ommand).| |
+--------+-------------------------+-------------------------+--------+--------+